<extend name="Base:base" />
<block name="title">{$title}</block>
<block name="content">
    <div class="main-title">
        <h2>添加节点</h2>
    </div>
    <form action="" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">{$type}名称<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">{$type}描述<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="title" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">{$type}备注<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="remark" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">是否开启<span class="check-tips">（用于后台用户所属角色）</span></label>
            <div class="controls">
                <input type="radio" name="status" value="1" checked="checked" />&nbsp;开启 &nbsp;
                <input type="radio" name="status" value="0" />&nbsp;关闭
            </div>
        </div>
        <div class="form-item">
            <input type="hidden" name="pid" value="{$pid}" />
            <input type="hidden" name="level" value="{$level}"/>
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">保存添加</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);
                    return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('node')}');
    </script>
</block>
